#include <stdio.h>

int main ()
{

    int a , day = 0 ;

    scanf("%d" , &a) ;

    while (a <= 1)
    {

        a /= 2 ;

        day++ ;

    }

    printf("%d" , day) ;

    return 0 ;

}